package designPatterns_demo.decorator_pattern.demo1;

public abstract class ShapeDecorator implements Shape {

    protected Shape decoratedShape;

    public ShapeDecorator(Shape decoratedShape) {
        this.decoratedShape = decoratedShape;
    }

    public void draw(){
        this.decoratedShape.draw();
    }
}
